From 98aa788d67affded951cd46eefc3b0be9ed9d800 Mon Sep 17 00:00:00 2001 From: Colin Walters Date: Fri, 18 Jul 2025 15:03:27 -0400 Subject: [PATCH] sysroot: Fix Since: for soft reboot APIs We should really have a CI gate for this... --- src/libostree/ostree-deployment.c | 2 +- src/libostree/ostree-sysroot-deploy.c | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/libostree/ostree-deployment.c b/src/libostree/ostree-deployment.c index 73360d90..dc6202e4 100644 --- a/src/libostree/ostree-deployment.c +++ b/src/libostree/ostree-deployment.c @@ -487,7 +487,7 @@ ostree_deployment_is_finalization_locked (OstreeDeployment *self) * @self: Deployment * * Returns: `TRUE` if deployment is set for a soft reboot. - * Since: TODO + * Since: 2025.3 */ gboolean ostree_deployment_is_soft_reboot_target (OstreeDeployment *self) diff --git a/src/libostree/ostree-sysroot-deploy.c b/src/libostree/ostree-sysroot-deploy.c index 1b34833f..bee899a3 100644 --- a/src/libostree/ostree-sysroot-deploy.c +++ b/src/libostree/ostree-sysroot-deploy.c @@ -4385,7 +4385,7 @@ ostree_sysroot_deployment_set_mutable (OstreeSysroot *self, OstreeDeployment *de * (i.e., have the same boot checksum). * * Returns: %TRUE if a soft-reboot is possible to the target deployment, %FALSE otherwise. - * Since: TODO + * Since: 2025.3 */ gboolean ostree_sysroot_deployment_can_soft_reboot (OstreeSysroot *self, OstreeDeployment *deployment) @@ -4438,7 +4438,7 @@ impl_clear_soft_reboot (void) * Prepare the specified deployment for a systemd soft-reboot by creating a new * root with it at `/run/nextroot`. * - * Since: TODO + * Since: 2025.3 */ gboolean ostree_sysroot_deployment_set_soft_reboot (OstreeSysroot *self, OstreeDeployment *deployment, @@ -4512,7 +4512,7 @@ ostree_sysroot_deployment_set_soft_reboot (OstreeSysroot *self, OstreeDeployment * If there is a soft reboot queued in /run/nextroot, clear it. If one * is not queued, this function successfully does nothing. * - * Since: TODO + * Since: 2025.3 */ gboolean ostree_sysroot_clear_soft_reboot (OstreeSysroot *self, GCancellable *cancellable, GError **error) -- 2.30.2